home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Tools - Objects / MacApp / MacApp 2.0 CD Release / MacApp 2.0 (Many Libraries) / Tools / Default.r < prev    next >
Encoding:
Text File  |  1990-03-27  |  1.9 KB  |  61 lines  |  [TEXT/MPS ]

  1. // Copyright © 1986-1990 Apple Computer, Inc.  All rights reserved.
  2. // Default resource file.
  3.  
  4. // • Auto-Include the requirements for this source
  5. #ifndef __TYPES.R__
  6. #include "Types.r"
  7. #endif
  8.  
  9. #ifndef __MacAppTypes__
  10. #include "MacAppTypes.r"
  11. #endif
  12.  
  13. #ifndef __ViewTypes__
  14. #include "ViewTypes.r"
  15. #endif
  16.  
  17. // Get the application's CODE.  Note that this is done this way so that the application can
  18. // be linked and/or rezzed separately.  Also, Rez currently (MPW 3.0) does not support
  19. // -align longword simultaneously with the -append option (but it only tells you if you're
  20. // getting -p progress indication).
  21. include $$Shell("ObjApp")$$Shell("XAppName") 'CODE';
  22.  
  23. // Basic resources for various purposes.
  24. // Self evident from their names!
  25. include "MacApp.rsrc";
  26. include "Dialog.rsrc";
  27. include "Printing.rsrc";
  28.  
  29. #if qDebug
  30. include "Debug.rsrc";
  31. #endif
  32.  
  33.  
  34. // Now include the "default" resources
  35. // Note: you can pick and choose to selectively replace defaults in your own Rez source.
  36. #if qTemplateViews
  37. include "Defaults.rsrc"  'view' (kDefaultViewID);
  38. include "Defaults.rsrc"  'view' (kDefaultWindowID);
  39. #endif
  40.  
  41. include "Defaults.rsrc"  'ALRT' (phAboutApp);
  42. include "Defaults.rsrc"  'cmnu' (mBuzzwords);
  43. include "Defaults.rsrc"  'cmnu' (mApple);
  44. include "Defaults.rsrc"  'cmnu' (mEdit);
  45. include "Defaults.rsrc"  'cmnu' (mFile);
  46. include "Defaults.rsrc"  'DITL' (phAboutApp);
  47. include "Defaults.rsrc"  'MBAR' (kMBarDisplayed);
  48. include "Defaults.rsrc"  'SIZE' (-1);
  49. include "Defaults.rsrc"  'STR#' (kDefaultCredits);
  50. include "Defaults.rsrc"  'WIND' (kDefaultWindowID);
  51.  
  52. // Get the default MacApp® application icon and necessary bundling rsrcs
  53. include "Defaults.rsrc"  'MApp' (0);
  54. include "Defaults.rsrc"  'FREF' (128);
  55. include "Defaults.rsrc"  'BNDL' (128);
  56. include "Defaults.rsrc"  'ICN#' (128);
  57.  
  58. // Get the default Version resources
  59. include "Defaults.rsrc"  'vers' (1);        // Application or file specific
  60. include "Defaults.rsrc"  'vers' (2);        // Overall package
  61.